/*
 * @Author: thl
 * @Date: 2023-07-17 13:43:51
 * @FilePath: \cw_web\gl\src\request\dataBoard\index.jsx
 * @Description: 数据看板
 */
import React from 'react'

//三方商城
export async function eventThirdStatisticsOverview(params) {
  return await React.$postJson('/manage/api/b/eventThirdStatistics/overview', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
//三方商城趋势图
export async function eventThirdStatisticsTrend(params) {
  return await React.$postJson('/manage/api/b/eventThirdStatistics/trend', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
//概览数据统计
export async function apiGetEventStatisticsOverview(params) {
  return await React.$postJson('/manage/api/b/eventStatistics/overview', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
//概览图表数据
export async function apiGetEventStatisticsTrend(params) {
  return await React.$postJson('/manage/api/b/eventStatistics/trend', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
//流量-页面列表
export async function apiGetEventEventPageList(params) {
  return await React.$postJson('/manage/api/b/eventPage/list', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
// 宠物鉴别管理计算
export async function apiPetCheckDayRecord(params) {
    return await React.$get('/manage/api/b/petCheckDayRecord/report', params);
}
// 宠物鉴别数据看板
export async function apiPetCheckDayRecordChart(params) {
    return await React.$get('/manage/api/b/petCheckDayRecord/chart', params);
}

//流量-抖音数据
export async function apiGetThirdAdvertStatisticsPage(params) {
  return await React.$postJson('/manage/api/b/thirdAdvertStatistics/page', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
// 广告数据总览查询
export async function apiThirdAdvertStatisticsPage(params) {
  return await React.$postJson('/manage/api/b/thirdAdvertStatistics/page', params);
}
// 广告数据总览导出
export async function apiThirdAdvertStatisticsExport(params) {
  return await React.$postJson('/manage/api/b/thirdAdvertStatistics/export', params);
}
// 广告数据总览查询
export async function apiThirdAdvertStatisticsOverview(params) {
  return await React.$postJson('/manage/api/b/thirdAdvertStatistics/overview', params);
}

//流量-抖音数据导出
export async function apiGetThirdAdvertStatisticsExport(params) {
  return await React.$postJson('/manage/api/b/thirdAdvertStatistics/export', params, {
    headers: {
      'Content-Type': 'application/json',
    }
  });
}
